package net.qhzw.vip.qiyu.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "mall_shop_account")
public class ShopAccount {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "shop_id")
    private Long shopId;



    private String shopName;


    /**
     * 转出金额
     */
    @TableField(value = "transfer_amount")
    private Double transferAmount;

    /**
     * 转入金额
     */
    @TableField(value = "expenditure_amount")
    private Double expenditureAmount;


    /**
     * 详细信息
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 交易类型 0：支出 1：收入
     */
    @TableField(value = "transaction_type")
    private Integer transactionType;


    /**
     * 交易时间
     */
    @TableField(value = "created")
    private Date created;


}
